//***********************************************************************
//	File:		UseAbilityMessage.cpp
//	Author:		Spencer Hawkins 
//	Course:		SGP 1405
//	Purpose:	Messages for using abilities
//***********************************************************************
//***********************************************************************
//	Purposfully left blank for all comments regarding this file 
//	
//	
//	
//***********************************************************************

#include "UseAbilityMessage.h"
#include "../GameObjects/Entity.h"
#include "MessageID.h"


UseAbilityMessage::UseAbilityMessage( Entity* sender, int abilityType)
: SGD::Message(MessageID::USE_ABILITY_MESSAGE)
{
	m_pSender = sender;
	abilType = abilityType; 
	sender->AddRef(); 
}


UseAbilityMessage::~UseAbilityMessage()
{
	m_pSender->Release(); 
}
